//
//  YKDrugPriceDetailHeaderView.m
//  YunKang
//
//  Created by leoking870 on 2017/10/4.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import "YKDrugPriceDetailHeaderView.h"
@interface YKDrugPriceDetailHeaderView ()
@property (weak, nonatomic) IBOutlet UILabel *clientNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *clientAddressLabel;
@property (weak, nonatomic) IBOutlet UILabel *clientOrderIDLabel;
@property (weak, nonatomic) IBOutlet UILabel *clientOrderDateLabel;
@end



@implementation YKDrugPriceDetailHeaderView

- (void)setMYKClientDrugPriceDetailModel:(YKClientDrugPriceDetailModel *)mYKClientDrugPriceDetailModel {
    self.clientNameLabel.text = mYKClientDrugPriceDetailModel.customerDataMap.C_NAME;
    self.clientAddressLabel.text = mYKClientDrugPriceDetailModel.customerDataMap.ST_NAME;
    
//    self.clientOrderIDLabel.text = [NSString stringWithFormat:@"单号:%@", mYKClientDrugPriceDetailModel.customerDrugPrice.APPLYORDERODE];
    self.clientOrderDateLabel.text = [NSString stringWithFormat:@"%@   %@",mYKClientDrugPriceDetailModel.customerDrugPrice.APPLYORDERODE, mYKClientDrugPriceDetailModel.customerDrugPrice.APPLYDATE];
    
    
    self.clientOrderIDLabel.text = [NSString stringWithFormat:@"审批状态:%@",mYKClientDrugPriceDetailModel.customerDrugPrice.submitStatusString];
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
